import axios from "../utils/http.js"
export default{
//    轮播图获取数据
     getCarousel(data={}){
        return axios({
            url: "/api/resources/carousel",
            method: "POST",
            data: data
        })
     },
     getHotProduct({"categoryName":["电视机","空调","洗衣机","保护套", "保护膜", "充电器", "充电宝"]}){
        return axios({
            url: "/api/product/getHotProduct",
            method: "POST",
            data: data
        })
     }
}